home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 September
/
CHIP Eylül 1998.iso
/
freeware
/
Memct00
/
memct.exe
/
mytestu.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1998-03-17
|
807b
|
46 lines
unit mytestu;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, StopTime, CDEvents, MemCtrl, Led;
type
TForm1 = class(TForm)
MemCtrl1: TMemCtrl;
BitBtn1: TBitBtn;
BitBtn2: TBitBtn;
StopTime1: TStopTime;
LED1: TLED;
CDEvents1: TCDEvents;
MemCtrl2: TMemCtrl;
procedure BitBtn1Click(Sender: TObject);
procedure BitBtn2Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
p : ^Byte;
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.BitBtn1Click(Sender: TObject);
begin
GetMem(p, 1024);
end;
procedure TForm1.BitBtn2Click(Sender: TObject);
begin
FreeMem(p);
p := nil;
end;
end.